flex (one's) brainpower

Translations
faire étalage de son intelligence
Definitions
To demonstrate or show off one's intelligence, mental abilities, or problem-solving skills, often in a way that is noticeable to others.